#include "webserverconfigdialog.h"
#include "ui_webserverconfigdialog.h"
#include <QMessageBox>

WebServerConfigDialog::WebServerConfigDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::WebServerConfigDialog)
{
    ui->setupUi(this);
}

WebServerConfigDialog::~WebServerConfigDialog()
{
    delete ui;
}

void WebServerConfigDialog::on_pushButtonOK_clicked()
{
    accept();
}

void WebServerConfigDialog::on_pushButtonCancel_clicked()
{
    reject();
}

void WebServerConfigDialog::on_pushButtonHelp_clicked()
{
    QMessageBox::information(this,tr("常见故障排查"),tr("1.检查库文件是否齐全\n2."
                                                  "用别的软件连接mysql数据库，看看是否能够连上"));
}
